package mysqlModel

import (
	"gorm.io/gorm"
)

//群消息
type GroupBasic struct {
	gorm.Model
	Name 		string	`gorm:"column:name"`
	OwnerId 	uint	`gorm:"column:woner_id"`
	Icon  		string   `gorm:"column:icon"`
	Type 		int		`gorm:"column:type"`
	Desc 		string	`gorm:"column:desc"`
}

func (table *GroupBasic) TableName() string{
	return "group_basic"
}
